//
//  SLBMW.m
//  Objective-C
//
//  Created by 陆承东 on 2018/11/10.
//  Copyright © 2018 S_Line. All rights reserved.
//

#import "SLBMW.h"

@implementation SLBMW

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    if ([super init]) {
        self.model = [aDecoder decodeObjectForKey:@"model"];
        self.owner = [aDecoder decodeObjectForKey:@"owner"];
    }
    return self;
}


- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.model forKey:@"model"];
    [aCoder encodeObject:self.owner forKey:@"owner"];
}

@end
